package com.zrt.pad.util;

import java.util.HashMap;
import java.util.Map;

import com.zrt.pad.datasource.DataSourceInstance;
import com.zrt.pad.datasource.OptionName;

public class SellUtil {
	
	private static Map<String, String> userMap = new HashMap<String, String>();
	
	public static void saveUserLoginInfo(String userCode, String userPwd){
		//userMap.put("StationID", stationID);
		//userMap.put("OrgCode", orgCode);
		userMap.put("UserCode", userCode);
		userMap.put("UserPwd", userPwd);
	}
	
	
	public static String getUserCode(){
		String value = userMap.get("UserCode");
		if(value == null) value = "";
		return value;
	}
	
	public static String getUserPwd(){
		String value = userMap.get("UserPwd");
		if(value == null) value = "";
		return value;
	}
	
	//返回当前的营业日
	public static String getJzDate(){
		String value = userMap.get("JzDate");
		if(value == null) value = "";
		return value;
	}
	
	public static void setJzDate(String jzdate){
		userMap.put("JzDate", jzdate);
	}
}
